Package com.cisco.pt.ipc.sim.impl
Class OSPFMainProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.OSPFMainProcessImpl
- All Implemented Interfaces:
IPCObject,OSPFMainProcess,Process
Information provided by the PKI file:
\class OspfMainProcess
\brief OspfMainProcess is the main process that handles all OSPF processes.
\example network().getDevice("Router0").getProcess("OspfMainProcess")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionOSPFMainProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddOspfProcess(int id) Information provided by the PKI file:getOspfProcess(int id) Information provided by the PKI file:getOspfProcessAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:booleanremoveOspfProcess(int id) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
OSPFMainProcessImpl
public OSPFMainProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
addOspfProcess
public boolean addOspfProcess(int id) Information provided by the PKI file:
\brief Adds an OSPF process with the specified ID. \param id, the ID for the OSPF process. \return bool, true if successful, otherwise false.- Specified by:
addOspfProcessin interfaceOSPFMainProcess- Parameters:
id- Takes in a parameter of id- Returns:
- boolean Returns a boolean
-
removeOspfProcess
public boolean removeOspfProcess(int id) Information provided by the PKI file:
\brief Removes the OSPF process with the specified ID. \param id, the ID of the OSPF process. \return bool, true if successful, otherwise false.- Specified by:
removeOspfProcessin interfaceOSPFMainProcess- Parameters:
id- Takes in a parameter of id- Returns:
- boolean Returns a boolean
-
getOspfProcessAt
Information provided by the PKI file:
\brief Returns the OSPF process at the specified index. \param index, the index of the OSPF process of interest. \return Process, the Process object at the specified index.- Specified by:
getOspfProcessAtin interfaceOSPFMainProcess- Parameters:
index- Takes in a parameter of index- Returns:
- Process Returns a Process
-
getOspfProcess
Information provided by the PKI file:
\brief Returns the OSPF process with the specified ID. \param id, the ID of the OSPF process of interest. \return Process, the Process object with the specified ID.- Specified by:
getOspfProcessin interfaceOSPFMainProcess- Parameters:
id- Takes in a parameter of id- Returns:
- Process Returns a Process
-
getOspfProcessCount
public int getOspfProcessCount()Information provided by the PKI file:
\brief Returns the number of OSPF processes. \return int, the number of OSPF processes.- Specified by:
getOspfProcessCountin interfaceOSPFMainProcess- Returns:
- int Returns a int
-